package com.night.test;

/**
 * @Author: chen yang
 * @Date: 2024/12/1 10:50
 */
public class ProxyBean extends OriginBean{

    final OriginBean target;

    public ProxyBean(OriginBean target) {
        this.target = target;

    }

    @Override
    public String getName() {
        return "proxyBean " + target.getName() ;
    }
}
